home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Audio / Patchmix / XWindowsSource / soundfile.h < prev    next >
C/C++ Source or Header  |  1992-03-28  |  556b  |  36 lines

  1. // $Header: soundfile.h,v 1.2 91/02/13 09:48:11 mara Exp $
  2.  
  3. /* soundfile.h
  4.  *
  5.  *  Written by Mara Helmuth
  6.  *
  7.  *  Description: Instrument class declaration 
  8.  *     for Cmix X graphical interface
  9.  * 
  10.  *  $Log:    soundfile.h,v $
  11.  * Revision 1.2  91/02/13  09:48:11  mara
  12.  * panel fixes
  13.  * 
  14.  * Revision 1.1  90/08/27  17:11:15  mara
  15.  * Initial revision
  16.  * 
  17.  * 
  18. */
  19.  
  20. class soundfile
  21. {
  22.     friend instrument;
  23.     private:
  24.         FILE* fp;
  25.         int chans;
  26.  
  27.     public:
  28.         char name[50];
  29.         long SR;
  30.         soundfile() {};
  31.         void write();
  32.         void rescale();
  33.         void play();
  34.         ~soundfile() {};
  35. };
  36.